package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by ${zk} on 2018/8/23 0023.
 */

public class StoreNear_Info {
    @Override
    public String toString() {
        return "StoreNear_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.toString() +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":38,"name":"山东大药房","pic":"/upload/store/201808/15342328312400.png","address":"山东济南","star":3,"isself":0,"invoice":2,"type":2,"distant":"4358.2015"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", pic='" + pic + '\'' +
                    ", address='" + address + '\'' +
                    ", star=" + star +
                    ", isself=" + isself +
                    ", invoice=" + invoice +
                    ", type=" + type +
                    ", distant='" + distant + '\'' +
                    '}';
        }

        /**
         * id : 38
         * name : 山东大药房
         * pic : /upload/store/201808/15342328312400.png
         * address : 山东济南
         * star : 3
         * isself : 0
         * invoice : 2
         * type : 2
         * distant : 4358.2015
         */

        private int id;
        private String name;
        private String pic;
        private String address;
        private int star;
        private int isself;
        private int invoice;
        private int type;
        private String distant;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getStar() {
            return star;
        }

        public void setStar(int star) {
            this.star = star;
        }

        public int getIsself() {
            return isself;
        }

        public void setIsself(int isself) {
            this.isself = isself;
        }

        public int getInvoice() {
            return invoice;
        }

        public void setInvoice(int invoice) {
            this.invoice = invoice;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getDistant() {
            return distant;
        }

        public void setDistant(String distant) {
            this.distant = distant;
        }
    }

}
